import Home from "../../views/Home";
import About from "../../views/About";
import header from "../../components/header";
import friendsList from "../../components/friendsList";
import login from "../../views/login";
import HomeIO from "../../views/HomeIO"

export default[
    {
        path: '/',
        name: 'login',
        component: login
    },
    {
        path:"/HomeIO",
        name:"HomeIO",//组件名
        component: ()=>import("@/views/HomeIO"),//组件地址
    },
    {
        path:"/Home",
        name:"Home",
        component: ()=>import("@/views/Home"),//组件地址
    },
    {
        path: '/mapNavigation',
        name: 'mapNavigation',
        component: ()=>import("@/views/mapNavigation"),//组件地址
        hidden:true,
    },
    {
        path: '/404',
        name: '404',
        component: ()=>import("@/views/404"),//组件地址
        hidden:true,
    },
    {
        path:"/header",//组件地址
        name:"header",//组件名
        component: ()=>import("@/components/header"),//组件地址
    },
    {
        path:"/friendsList",//组件地址
        name:"friendsList",//组件名
        component: ()=>import("@/components/friendsList"),//组件地址
    },
    {
        path:"/voice",
        name:"voice",
        component: ()=>import("@/views/voice")
    }
]

